//
//  KAApplyFooter.swift
//  kano
//
//  Created by Sophia on 2024/8/22.
//

import UIKit

class KAApplyFooter: UIView {

    open lazy var var_loginButton: UIButton = {
        let var_loginButton = UIButton()
        var_loginButton.backgroundColor = .themeColor
        var_loginButton.setTitle("Next", for: .normal)
        var_loginButton.setTitleColor(.white, for: .normal)
        var_loginButton.titleLabel?.font = UIFont.systemFont(ofSize: kscale(17), weight: .bold)
        var_loginButton.layer.cornerRadius = kscale(25)
        var_loginButton.layer.masksToBounds = true
        return var_loginButton
    }()
    
    
    init() {
        super.init(frame: CGRectMake(0, 0, var_screenWidth, kscale(90)))
        addSubview(var_loginButton)
        backgroundColor = .white
        var_loginButton.snp.makeConstraints { make in
            make.left.equalTo(kscale(20))
            make.right.equalTo(kscale(-20))
            make.height.equalTo(kscale(50))
            make.centerY.equalTo(self)
        }
        
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

}
